// import { legacy_createStore, combineReducers, compose, applyMiddleware } from "redux";
// // import reduxThunk from 'redux-thunk'
// // import userReducer from "./userReducer/reducer";


// const reducers = combineReducers({
//   userReducer
// })


// // 创建数据仓库
// // const store = legacy_createStore(reducers, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__())


// // redux-thunk
// const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE({}) : compose

// const store = legacy_createStore(reducers, composeEnhancers(applyMiddleware(reduxThunk)))



// export default store